package main;

import java.util.HashSet;
import java.util.Set;

import javax.inject.Inject;
import javax.inject.Named;
import javax.inject.Provider;

public class KnifeJuggler extends Juggler {

	private Set<Knife> knives;
	
	@Inject
//	@Named("i2")
	public KnifeJuggler(Provider<Knife> knifeProvider) {
		knives = new HashSet<Knife>();
		for(int i=0; i<15; i++) {
			knives.add(knifeProvider.get());
		}
		System.out.println("size: "+knives.size());
	}
	
}
